import request from '@/utils/request'
// 数据列表渲染
export const adminInterviewQuery = (query) =>
  request({
    method: 'GET',
    url: '/admin/interview/query',
    params: query
  })
// 面经创建
export const adminInterviewCreate = (data) => request({ method: 'POST', url: '/admin/interview/create', data })
// 删除数据
export const adminInterviewRemove = (id) => request({ method: 'DELETE', url: '/admin/interview/remove', data: { id } })
// 获取单个面经详情
export const adminInterviewShow = (id) => request({ method: 'GET', url: '/admin/interview/show', params: { id } })
// 更新页面数据
export const adminInterviewUpdate = (data) => request({ method: 'PUT', url: '/admin/interview/update', data })
